#!/bin/bash

source functions

while true
do
    read -p "what? " action
    case "$action" in
        ls)
            ls -l ;;
        pwd)
            pwd ;;
        q)
            confirm "exit? (y/n) " && break ;;
    esac
done
